add_executable(RecognizeSample
                main.cpp
                MyWidget.cpp
               )


target_include_directories(RecognizeSample PRIVATE
    ${QT_CPP_ROOTDIR}/3rdParty/qt/include
    )

target_link_libraries(RecognizeSample PRIVATE
    Qt5::Widgets
    Qt5::Core
    Qt5::Gui
    Qt5::Network
    ${LIBS}
)

set_target_properties(RecognizeSample PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/")
add_custom_target(CopyDLLs ALL
    COMMAND ${CMAKE_COMMAND} -E copy_directory "${QT_CPP_ROOTDIR}/3rdParty/qt/bin/" "${CMAKE_BINARY_DIR}/bin/"
)
add_dependencies(RecognizeSample CopyDLLs)

